<?php
/**
 * <https://y.st./>
 * Copyright © 2017 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'<{title}>' => '...',
	'takedown' => '2017-11-01',
	'<{body}>' => <<<END
<img src="/img/CC_BY-SA_4.0/y.st./weblog/2017/10/11.jpg" alt="My displaced handlebars" class="framed-centred-image" width="800" height="480"/>
<section id="general">
	<h2>General news</h2>
	<p>
		My <a href="/a/canary.txt">canary</a> still sings the tune of freedom and transparency.
	</p>
</section>
<section id="university">
	<h2>University life</h2>
	<p>
		Compiling my acquired data into an essay took hours longer than expected.
		I&apos;m glad I didn&apos;t put it off until morning, because I&apos;d&apos;ve never had time to finish.
		Today was an early day at work too, so I had even less time than usual to spare.
		Due to an upload limit, I wasn&apos;t able to get all my screenshots uploaded to the university website as I usually do, so I had to seek a third-party host.
		The first host I tried banned me part-way through the upload process.
		I waited a bit for an unban, but it never came.
		I assumed I&apos;d switched exits to an already-banned exit node, and that a wait would let me drift back to an unbanned exit, but I had no such luck.
		Given more time, it might&apos;ve worked, but I didn&apos;t have the time today.
		Next, I tried a Media Goblin instance.
		Let&apos;s see if they come through for me.
		I&apos;m unclear on how their system works, so I&apos;m not sure if image files have a static $a[URI].
		If the $a[URI]s change on me before my assignment is graded, it could be trouble for me.
		Simply put, I&apos;m not sure if Media Goblin is built to act as a media host for use in conjunction with other websites.
	</p>
	<p>
		I finished up my discussion assignments:
	</p>
	<blockquote>
		<p>
			The fact that you bring up similar programs for Linux makes me think you don&apos;t understand the problem.
			I&apos;ve known all week that <code>vmstat</code> and <code>smem</code> on Linux will do the job.
			What about the grading instructions though?
			If the grading instructions ask that we grade based on whether the student used Process Explorer to show kernel memory usage, but I instead used <code>smem</code> to show kernel memory usage, it won&apos;t work out.
			I&apos;ll get a zero even though I put in all the effort and showed exactly the stats that needed to be shown.
			The issue isn&apos;t that I don&apos;t know how to do this on a Linux machine.
			The problem is that the assignment instructions <strong>*specifically told us to use Process Explorer*</strong>, which not all of us have the ability to run.
			I was hoping our professor would see this post, or the post in the course forum, or my direct message to him - and respond.
			I had no such luck.
		</p>
		<p>
			There aren&apos;t any Windows machines within reach for me to borrow.
			At least not in person.
			At the last minute, Mostapha Ramadan lent me use of a hypervised machine remotely, after which I spent a sleepless night integrating the Process Explorer information and screenshots into my already-written essay that used <code>smem</code> and <code>vmstat</code>.
			If the assignment instructions had been less demanding about which software we use, or if our professor had gotten back to me, I wouldn&apos;t&apos;ve had to spend the whole week stressing about this and I wouldn&apos;t have to go to work tonight without having slept in over twenty-four hours.
		</p>
	</blockquote>
	<blockquote>
		<p>
			You make a very good point that content-management systems allow you to create and manage your content without having technical skill.
			If you have the skills and you have the time, it might be worth coding things yourself in most cases.
			You get much more flexibility that way.
			However, if you&apos;re not a computer person and you still want to put your stuff on the Web, the fact that the Web isn&apos;t your speciality doesn&apos;t have to stop you.
			Using a content-management system will allow you to get what you need done done.
		</p>
	</blockquote>
	<blockquote>
		<p>
			Personally, I&apos;m not a fan of $a[WYSIWYG] editors.
			I have to keep JavaScript disabled when I&apos;m here at the university website because of a bug in the website that causes it to lock up frequently for me.
			The bug isn&apos;t related to the $a[WYSIWYG] editor, but one added bonus I&apos;ve seen is that when JavaScript is disabled, so is that $a[WYSIWYG] editor.
			It makes me even happier to keep JavaScript disabled here.
			$a[WYSIWYG] is nice for a lot of people, but it&apos;s not for everyone.
		</p>
	</blockquote>
	<blockquote>
		<p>
			I like how to explain that content-management systems are only a substitute for coding.
			If someone knows how to code and wants to put their own site together, they don&apos;t need a $a[CMS].
			That is to say, using a $a[CMS] is strictly optional.
		</p>
		<p>
			There&apos;s a big difference in quality level between Wix and Wordpress though.
			Wordpress builds functional pages.
			Wix creates pages that don&apos;t even render if JavaScript is disabled.
			If you choose to use a $a[CMS], you should do your research and choose one that&apos;s not only easy to use, but that also makes your content accessible to your audience.
		</p>
	</blockquote>
	<blockquote>
		<p>
			Your diagrams make the point very clear.
			Even though the whole memory space is obviously free, the machine doesn&apos;t view it as a single, continuous free space.
			This could be problematic, especially if a process tries to get the system to allocate a memory chunk that&apos;s bigger than the largest &quot;segment&quot;.
		</p>
	</blockquote>
	<blockquote>
		<p>
			Exactly right.
			To clean up the mess, the system needs to remerge adjacent free memory chunks.
			That way, the system can see the actual state of the memory: it&apos;s one continuous free space, not several small free space.
		</p>
	</blockquote>
	<blockquote>
		<p>
			It&apos;s even worse than that.
			The fact is, not only is there that much memory available, it <strong>*is*</strong> connected!
			The operating system just doesn&apos;t see that.
			When the memory chunks don&apos;t get coalesced, the operating system isn&apos;t able to see the reality of the situation.
			Instead, it sees the illusion that only smaller memory segments are available.
		</p>
	</blockquote>
</section>
END
);
